package com.ruoyi.clerkBalanceRecord.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.ruoyi.adapayBalanceRecord.domain.AdapayBalanceRecord;
import com.ruoyi.clerkBalanceRecord.domain.ClerkBalanceRecord;

/**
 * 余额流水Service接口
 *
 * @author ch
 * @date 2022-02-28
 */
public interface IClerkBalanceRecordService
{
    /**
     * 查询余额流水
     *
     * @param id 余额流水主键
     * @return 余额流水
     */
    public ClerkBalanceRecord selectClerkBalanceRecordById(Long id);

    /**
     * 查询余额流水列表
     *
     * @param clerkBalanceRecord 余额流水
     * @return 余额流水集合
     */
    public List<ClerkBalanceRecord> selectClerkBalanceRecordList(ClerkBalanceRecord clerkBalanceRecord);

    /**
     * 新增余额流水
     *
     * @param clerkBalanceRecord 余额流水
     * @return 结果
     */
    public int insertClerkBalanceRecord(ClerkBalanceRecord clerkBalanceRecord);

    /**
     * 修改余额流水
     *
     * @param clerkBalanceRecord 余额流水
     * @return 结果
     */
    public int updateClerkBalanceRecord(ClerkBalanceRecord clerkBalanceRecord);

    /**
     * 批量删除余额流水
     *
     * @param ids 需要删除的余额流水主键集合
     * @return 结果
     */
    public int deleteClerkBalanceRecordByIds(Long[] ids);

    /**
     * 批量逻辑删除余额流水
     *
     * @param ids 需要删除的余额流水主键集合
     * @return 结果
     */
    public int logicDeleteClerkBalanceRecord(Long[] ids,String delType,Long delUser);
    /**
     * 删除余额流水信息
     *
     * @param id 余额流水主键
     * @return 结果
     */
    public int deleteClerkBalanceRecordById(Long id);

    BigDecimal selectData(Long storeUserId, Date date);
}
